/**
 * small-spring
 *
 * @author yuanchen
 * @date 2021-06-29 16:57
 */
package cn.bugstack.springframework.beans.factory.support;

import cn.bugstack.springframework.beans.factory.config.BeanDefinition;
import cn.bugstack.springframework.exception.BeansException;

import java.lang.reflect.Constructor;

/**
 *
 * @author yuanchen
 * @date 2021-06-29 16:57
 */
public interface InstantiationStrategy {

    Object instantiate(BeanDefinition beanDefinition, String beanName, Constructor ctor, Object[] args) throws BeansException;
}
